package com.example.mapper;

import com.example.dao.PassWord;
import com.example.entity.HnyyWnPermission;
import com.example.entity.User;

import java.util.List;

public  interface LoginMapper {
    User login(String userName, String passWord);

    User selectById(String userId);

    List<HnyyWnPermission> getPermission(String userId);

    Integer forget(String newPassword,String oldPassword,String userId);
}
